Skip to content

[3.12] gh-145599, CVE 2026-3644: Reject control characters in http.cookies.Morsel.update() (GH-145600) - #146025

Merged
Yhg1s merged 1 commit into
python:3.12from
miss-islington:backport-57e88c1-3.12
Aug 4, 2026
Merged

[3.12] gh-145599, CVE 2026-3644: Reject control characters in http.cookies.Morsel.update() (GH-145600)#146025
Yhg1s merged 1 commit into
python:3.12from
miss-islington:backport-57e88c1-3.12

Conversation

@miss-islington

@miss-islington miss-islington commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Reject control characters in http.cookies.Morsel.update() and http.cookies.BaseCookie.js_output.
(cherry picked from commit 57e88c1)

Co-authored-by: Stan Ulbrych 89152624+StanFromIreland@users.noreply.github.com
Co-authored-by: Victor Stinner vstinner@python.org
Co-authored-by: Victor Stinner victor.stinner@gmail.com

…okies.Morsel.update()` (pythonGH-145600)

Reject control characters in `http.cookies.Morsel.update()` and `http.cookies.BaseCookie.js_output`.
(cherry picked from commit 57e88c1)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <victor.stinner@gmail.com>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 18, 2026
@Yhg1s
Yhg1s merged commit 3974092 into python:3.12 Aug 4, 2026
32 checks passed
@miss-islington
miss-islington deleted the backport-57e88c1-3.12 branch August 4, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Stale PR or inactive for long period of time. type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants